<template>
  <div class="not-found">
    <div class="error-code">404</div>
    <div class="error-message">页面未找到</div>
    <p>抱歉，您访问的页面不存在或已被移除</p>
    <router-link to="/" class="back-home">返回首页</router-link>
  </div>
</template>

<script setup>
// 404 页面逻辑
</script>

<style scoped>
.not-found {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 80vh;
  text-align: center;
  padding: 20px;
}

.error-code {
  font-size: 6rem;
  font-weight: bold;
  color: #3498db;
  margin-bottom: 20px;
}

.error-message {
  font-size: 1.5rem;
  color: #2c3e50;
  margin-bottom: 10px;
}

p {
  color: #7f8c8d;
  margin-bottom: 30px;
}

.back-home {
  display: inline-block;
  padding: 8px 16px;
  background-color: #3498db;
  color: white;
  border-radius: 4px;
  text-decoration: none;
  transition: background-color 0.3s;
}

.back-home:hover {
  background-color: #2980b9;
}
</style>
